<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: PCA_Clock_Source_Selection</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">PCA_Clock_Source_Selection<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___p_c_a.html">PCA</a> &raquo; <a class="el" href="group___p_c_a___exported___constants.html">PCA_Exported_Constants</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga826f4f1f83585a44f05f3ffa15a1457e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga826f4f1f83585a44f05f3ffa15a1457e">PCA_CLOCK_SOURCE_PCLKDIV32</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:ga826f4f1f83585a44f05f3ffa15a1457e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98b5f139ad7d355f06a1829bff34d059"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga98b5f139ad7d355f06a1829bff34d059">PCA_CLOCK_SOURCE_PCLKDIV16</a>&#160;&#160;&#160;(PCA_MOD_CPS_0)</td></tr>
<tr class="separator:ga98b5f139ad7d355f06a1829bff34d059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8d90b191e39acdab713ed4a1d126315"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gab8d90b191e39acdab713ed4a1d126315">PCA_CLOCK_SOURCE_PCLKDIV8</a>&#160;&#160;&#160;(PCA_MOD_CPS_1)</td></tr>
<tr class="separator:gab8d90b191e39acdab713ed4a1d126315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab7c65f7844724f50dfb2cf5bb77bdb0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gaab7c65f7844724f50dfb2cf5bb77bdb0">PCA_CLOCK_SOURCE_PCLKDIV4</a>&#160;&#160;&#160;(PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gaab7c65f7844724f50dfb2cf5bb77bdb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03fd0b859cb4a7e0a6cd0668c667b690"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga03fd0b859cb4a7e0a6cd0668c667b690">PCA_CLOCK_SOURCE_PCLKDIV2</a>&#160;&#160;&#160;(PCA_MOD_CPS_2)</td></tr>
<tr class="separator:ga03fd0b859cb4a7e0a6cd0668c667b690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4b5c0a0796b737eb852ab554082928a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gae4b5c0a0796b737eb852ab554082928a">PCA_CLOCK_SOURCE_TIM0_OVERFLOW</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gae4b5c0a0796b737eb852ab554082928a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33b9053e4b520327a1c9514058f67535"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga33b9053e4b520327a1c9514058f67535">PCA_CLOCK_SOURCE_TIM1_OVERFLOW</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1)</td></tr>
<tr class="separator:ga33b9053e4b520327a1c9514058f67535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac194429b50a55614675f4722b2fa0a4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gac194429b50a55614675f4722b2fa0a4f">PCA_CLOCK_SOURCE_ECI</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gac194429b50a55614675f4722b2fa0a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga908c108e10b7437f97474c8911f13c54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_CLOCK_COURCE</b>(CLOCK_SOURCE)</td></tr>
<tr class="separator:ga908c108e10b7437f97474c8911f13c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga908c108e10b7437f97474c8911f13c54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga908c108e10b7437f97474c8911f13c54">&#9670;&nbsp;</a></span>IS_PCA_CLOCK_COURCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_PCA_CLOCK_COURCE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">CLOCK_SOURCE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#ga826f4f1f83585a44f05f3ffa15a1457e">PCA_CLOCK_SOURCE_PCLKDIV32</a>) || (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#ga98b5f139ad7d355f06a1829bff34d059">PCA_CLOCK_SOURCE_PCLKDIV16</a>)    || \</div><div class="line">                                           (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#gab8d90b191e39acdab713ed4a1d126315">PCA_CLOCK_SOURCE_PCLKDIV8</a>) || (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#gaab7c65f7844724f50dfb2cf5bb77bdb0">PCA_CLOCK_SOURCE_PCLKDIV4</a>)      || \</div><div class="line">                                           (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#ga03fd0b859cb4a7e0a6cd0668c667b690">PCA_CLOCK_SOURCE_PCLKDIV2</a>) || (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#gae4b5c0a0796b737eb852ab554082928a">PCA_CLOCK_SOURCE_TIM0_OVERFLOW</a>) || \</div><div class="line">                                           (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#ga33b9053e4b520327a1c9514058f67535">PCA_CLOCK_SOURCE_TIM1_OVERFLOW</a>) || (CLOCK_SOURCE == <a class="code" href="group___p_c_a___clock___source___selection.html#gac194429b50a55614675f4722b2fa0a4f">PCA_CLOCK_SOURCE_ECI</a>))</div><div class="ttc" id="group___p_c_a___clock___source___selection_html_ga33b9053e4b520327a1c9514058f67535"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#ga33b9053e4b520327a1c9514058f67535">PCA_CLOCK_SOURCE_TIM1_OVERFLOW</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_TIM1_OVERFLOW</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:92</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_ga98b5f139ad7d355f06a1829bff34d059"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#ga98b5f139ad7d355f06a1829bff34d059">PCA_CLOCK_SOURCE_PCLKDIV16</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_PCLKDIV16</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:87</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_ga826f4f1f83585a44f05f3ffa15a1457e"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#ga826f4f1f83585a44f05f3ffa15a1457e">PCA_CLOCK_SOURCE_PCLKDIV32</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_PCLKDIV32</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:86</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_gaab7c65f7844724f50dfb2cf5bb77bdb0"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#gaab7c65f7844724f50dfb2cf5bb77bdb0">PCA_CLOCK_SOURCE_PCLKDIV4</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_PCLKDIV4</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:89</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_gae4b5c0a0796b737eb852ab554082928a"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#gae4b5c0a0796b737eb852ab554082928a">PCA_CLOCK_SOURCE_TIM0_OVERFLOW</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_TIM0_OVERFLOW</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:91</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_gab8d90b191e39acdab713ed4a1d126315"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#gab8d90b191e39acdab713ed4a1d126315">PCA_CLOCK_SOURCE_PCLKDIV8</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_PCLKDIV8</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:88</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_gac194429b50a55614675f4722b2fa0a4f"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#gac194429b50a55614675f4722b2fa0a4f">PCA_CLOCK_SOURCE_ECI</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_ECI</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:93</div></div>
<div class="ttc" id="group___p_c_a___clock___source___selection_html_ga03fd0b859cb4a7e0a6cd0668c667b690"><div class="ttname"><a href="group___p_c_a___clock___source___selection.html#ga03fd0b859cb4a7e0a6cd0668c667b690">PCA_CLOCK_SOURCE_PCLKDIV2</a></div><div class="ttdeci">#define PCA_CLOCK_SOURCE_PCLKDIV2</div><div class="ttdef"><b>Definition:</b> wb32l003_pca.h:90</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="gac194429b50a55614675f4722b2fa0a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac194429b50a55614675f4722b2fa0a4f">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_ECI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_ECI&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify ECI as pca input clock source </p>

</div>
</div>
<a id="ga98b5f139ad7d355f06a1829bff34d059"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98b5f139ad7d355f06a1829bff34d059">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_PCLKDIV16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_PCLKDIV16&#160;&#160;&#160;(PCA_MOD_CPS_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify PCLK divider 16 as pca input clock source </p>

</div>
</div>
<a id="ga03fd0b859cb4a7e0a6cd0668c667b690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03fd0b859cb4a7e0a6cd0668c667b690">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_PCLKDIV2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_PCLKDIV2&#160;&#160;&#160;(PCA_MOD_CPS_2)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify PCLK divider 2 as pca input clock source </p>

</div>
</div>
<a id="ga826f4f1f83585a44f05f3ffa15a1457e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga826f4f1f83585a44f05f3ffa15a1457e">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_PCLKDIV32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_PCLKDIV32&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify PCLK divider 32 as pca input clock source </p>

</div>
</div>
<a id="gaab7c65f7844724f50dfb2cf5bb77bdb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab7c65f7844724f50dfb2cf5bb77bdb0">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_PCLKDIV4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_PCLKDIV4&#160;&#160;&#160;(PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify PCLK divider 4 as pca input clock source </p>

</div>
</div>
<a id="gab8d90b191e39acdab713ed4a1d126315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab8d90b191e39acdab713ed4a1d126315">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_PCLKDIV8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_PCLKDIV8&#160;&#160;&#160;(PCA_MOD_CPS_1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify PCLK divider 8 as pca input clock source </p>

</div>
</div>
<a id="gae4b5c0a0796b737eb852ab554082928a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae4b5c0a0796b737eb852ab554082928a">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_TIM0_OVERFLOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_TIM0_OVERFLOW&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify TIM0 overflow as pca input clock source </p>

</div>
</div>
<a id="ga33b9053e4b520327a1c9514058f67535"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga33b9053e4b520327a1c9514058f67535">&#9670;&nbsp;</a></span>PCA_CLOCK_SOURCE_TIM1_OVERFLOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCA_CLOCK_SOURCE_TIM1_OVERFLOW&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specify TIM1 overflow as pca input clock source </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
